<template>
  <nut-tabbar
      @tab-switch="tabSwitch1"
      :tabbar-list="tabList6"
      :bottom="true"
      :isRouter="true"
      
  >
  </nut-tabbar>
</template>

<script>
export default {
  name: "Footer",
  data() {
    return {
      tabList6: [
        {

          curr: true,
          href:'/Index',
          icon: "https://img11.360buyimg.com/jdphoto/s130x100_jfs/t1/81741/30/12345/4140/5d9c4b13E726f0a1e/82c582e7c375e4b3.png",
          activeIcon: "https://img11.360buyimg.com/jdphoto/s130x100_jfs/t1/67550/26/12426/5094/5d9c4b13Eea435a3f/81328b0609c60a3c.png"
        },
        {

          curr: false,
          href:"/Classify",
          icon: "https://img11.360buyimg.com/jdphoto/s130x100_jfs/t1/56507/6/12787/3168/5d9c4b12Ef363dd8d/4af32f42575509d8.png",
          activeIcon: "https://img11.360buyimg.com/jdphoto/s130x100_jfs/t1/48787/24/12910/3390/5d9c4b12Ee63270e4/4481f5b3dbad979d.png"
        },
        {

          curr: false,
          href:"/Surprise",
          icon: "https://img12.360buyimg.com/img/s130x100_jfs/t1/172403/26/9304/4002/609c87c2Ea19f3782/703bf62f6c17a032.png",
          activeIcon: "https://img12.360buyimg.com/img/s130x100_jfs/t1/172403/26/9304/4002/609c87c2Ea19f3782/703bf62f6c17a032.png"
        },
        {
          curr: false,
          href:"/ShopCard",
          icon: "https://img11.360buyimg.com/jdphoto/s130x100_jfs/t1/64954/4/12406/3529/5d9c4b12Ee7a82735/f2fe0a88bf344736.png",
          activeIcon: "https://img11.360buyimg.com/jdphoto/s130x100_jfs/t1/45205/32/12889/3890/5d9c4b12E7bc2c425/dd60fafbde8542ca.png"
        },
        {

          curr: false,
          href:"/My",
          icon: "https://img11.360buyimg.com/jdphoto/s130x100_jfs/t1/68400/36/12368/3153/5d9c4b13E0e0d80a8/876c40f17d91ce44.png",
          activeIcon: "https://img11.360buyimg.com/jdphoto/s130x100_jfs/t1/47480/36/12929/3209/5d9c4b13E97caa63a/4dc0ec8a7e47c2b7.png"
        },
      ],
      curr:false
    };
  },
  methods: {
    tabSwitch1: function(value, index) {
      console.log(value, index);
     
    }
  },
  mounted(){
    this.curr=this.$route.query.curr;
    this.tabList6[3].curr=this.curr;
  }
}
</script>

<style scoped>

</style>